cmake_minimum_required(VERSION 3.5.0)

set(NAME server)
project(${NAME})

set(CMAKE_CXX_STANDARD 17)

file(GLOB parent_srcs ../*.cpp)
file(GLOB this_srcs *.cpp)

find_package(WebSocket)

add_executable(${NAME} main.cpp ${parent_srcs} ${this_srcs})
target_link_libraries(${NAME} WebSocket)